package com.travel.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:Jasenon_ce
 * @Date: 2025/03/13/下午3:23
 */
@NoArgsConstructor
@Data
@TableName("user")
public class UserVo {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("用户ID")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("名")
    private String firstName;

    @ApiModelProperty("姓")
    private String lastName;

    @ApiModelProperty("国籍")
    private String nationality;

    @ApiModelProperty("偏好语言")
    private String preferredLanguage;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("出生日期")
    private Date birthDate;

    @ApiModelProperty("头像URL")
    private String avatarUrl;

    @ApiModelProperty("注册时间")
    private Date registrationDate;

    @ApiModelProperty("最后登录时间")
    private Date lastLogin;

    @ApiModelProperty("用户状态：0-管理员，1-正常用户，2-禁用用户")
    private Integer userStatus;

}
